package demo;

/**
 * 获取各种值
 *
 * @author sun.ye
 * @since 2020-06-19 10:29
 */
public class GetValue {
    public static void main(String[] args) {
        String str = "12346";
        System.out.println(Integer.parseInt(str));
        System.out.println(Integer.valueOf(str));
        System.out.println(Integer.getInteger(str));
    }
}